<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="navBar">
	<c:if test="${userName != null}">
		Welcome, ${userName}! &nbsp;&nbsp;&nbsp;  
	</c:if>
 	<a href=".">Home</a> |
 	<a href="./?a=browse">Browse</a> |
 	<a href="./?a=help">Help</a> |
	<c:choose>
		<c:when test="${empty userName}">
			<a href="./?a=login">Log In</a>
		</c:when>
		<c:otherwise>
			<a href="./?a=themes">Themes</a> |
			<a href="./?a=play_stellasketch">Play</a> |
			<a href="./?a=logout">Log Out</a>
		</c:otherwise>	
	</c:choose>
</div>
<br />